package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallOrderDeliveryAddressModel = (*customMallOrderDeliveryAddressModel)(nil)

type (
	// MallOrderDeliveryAddressModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallOrderDeliveryAddressModel.
	MallOrderDeliveryAddressModel interface {
		mallOrderDeliveryAddressModel
	}

	customMallOrderDeliveryAddressModel struct {
		*defaultMallOrderDeliveryAddressModel
	}
)

// NewMallOrderDeliveryAddressModel returns a model for the database table.
func NewMallOrderDeliveryAddressModel(conn sqlx.SqlConn) MallOrderDeliveryAddressModel {
	return &customMallOrderDeliveryAddressModel{
		defaultMallOrderDeliveryAddressModel: newMallOrderDeliveryAddressModel(conn),
	}
}
